lcImageSetPixelRGB Home

Sets color of image pixel. The image must have RGB colors (LC_PROP_IMAGE_RGB = true).

 BOOL lcImageSetPixelRGB (
   HANDLE hImage,
   int X,
   int Y,
   int Red,
   int Green,
   int Blue
 );

Parameters
hImage
  Handle to a raster image object.
X
  Pixel X coordinate. The value must be less then LC_PROP_IMAGE_WPIX.
Y
  Pixel Y coordinates. The value must be less then LC_PROP_IMAGE_HPIX.
Red Green Blue
  Color components. The value can be in range 0-255.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample,   lcImageGetPixelRGB